#ifndef Pear_H
#define Pear_H

#include "Fruit.hpp"
#include <iostream>

class Pear : public Fruit
{
public:
    Pear(){
        // std::cout << "Pear()" << std::endl;
    };
    ~Pear(){
        // std::cout << "~Pear()" << std::endl;
    };
    std::string name() const override{
        return "pear";
    };
    void print() const override{
        std::cout << name() << std::endl;
    };
    int get_price() const override{
        return 20;
    };
};

#endif